package com.ruoyi.house.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 楼盘对象 webmagic_district
 * 
 * @author ruoyi
 * @date 2023-06-09
 */
public class WebmagicDistrict extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 日期yyyy-MM-dd */
    @Excel(name = "日期yyyy-MM-dd")
    private String date;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private String prjno;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 项目地址 */
    @Excel(name = "项目地址")
    private String projectAddress;

    /** 开发商 */
    @Excel(name = "开发商")
    private String developer;

    /** 未签约（套数） */
    @Excel(name = "未签约", readConverterExp = "套=数")
    private Long noAgency;

    /** url */
    @Excel(name = "url")
    private String url;

    /** sourceUrl */
    @Excel(name = "sourceUrl")
    private String sourceUrl;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long CREATEDBY;

    /** 修改人 */
    @Excel(name = "修改人")
    private Long MODIFIEDBY;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date CREATEDON;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date MODIFIEDON;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDate(String date) 
    {
        this.date = date;
    }

    public String getDate() 
    {
        return date;
    }
    public void setPrjno(String prjno) 
    {
        this.prjno = prjno;
    }

    public String getPrjno() 
    {
        return prjno;
    }
    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }
    public void setProjectAddress(String projectAddress) 
    {
        this.projectAddress = projectAddress;
    }

    public String getProjectAddress() 
    {
        return projectAddress;
    }
    public void setDeveloper(String developer) 
    {
        this.developer = developer;
    }

    public String getDeveloper() 
    {
        return developer;
    }
    public void setNoAgency(Long noAgency) 
    {
        this.noAgency = noAgency;
    }

    public Long getNoAgency() 
    {
        return noAgency;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setSourceUrl(String sourceUrl) 
    {
        this.sourceUrl = sourceUrl;
    }

    public String getSourceUrl() 
    {
        return sourceUrl;
    }
    public void setCREATEDBY(Long CREATEDBY) 
    {
        this.CREATEDBY = CREATEDBY;
    }

    public Long getCREATEDBY() 
    {
        return CREATEDBY;
    }
    public void setMODIFIEDBY(Long MODIFIEDBY) 
    {
        this.MODIFIEDBY = MODIFIEDBY;
    }

    public Long getMODIFIEDBY() 
    {
        return MODIFIEDBY;
    }
    public void setCREATEDON(Date CREATEDON) 
    {
        this.CREATEDON = CREATEDON;
    }

    public Date getCREATEDON() 
    {
        return CREATEDON;
    }
    public void setMODIFIEDON(Date MODIFIEDON) 
    {
        this.MODIFIEDON = MODIFIEDON;
    }

    public Date getMODIFIEDON() 
    {
        return MODIFIEDON;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("date", getDate())
            .append("prjno", getPrjno())
            .append("projectName", getProjectName())
            .append("projectAddress", getProjectAddress())
            .append("developer", getDeveloper())
            .append("noAgency", getNoAgency())
            .append("url", getUrl())
            .append("sourceUrl", getSourceUrl())
            .append("CREATEDBY", getCREATEDBY())
            .append("MODIFIEDBY", getMODIFIEDBY())
            .append("CREATEDON", getCREATEDON())
            .append("MODIFIEDON", getMODIFIEDON())
            .toString();
    }
}
